Skip to main content

Table

Table[expr,n] generates a list of n copies of expr. 

Table[expr,{i,imax}] generates a list of the values of expr when i runs from 1 to imax.

Table[expr,{i,imin,imax}] starts with i=imin.

Table[expr,{i,imin,imax,di}] uses steps di.

Table[expr,{i,{i1,i2,…}}] uses the successive values i1, i2, ….

Table[expr,{i,imin,imax},{j,jmin,jmax},…] gives a nested list. The list associated with i is outermost.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.